﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Core.Common.DomainModel.Interfaces.Repository;
using Core.Common.DomainModel.ModelEntities;

namespace Core.Common.Repository
{
    public class UserRepository : IUserRepository
    {
        public IEnumerable<UserModel> GetAll()
        {
            List<UserModel> lst = new List<UserModel>();
            lst.Add(new UserModel { UID = 1, FirstName = "John", LastName="Kerry", EmailID="johnkerry@america.com", MobileNo="9887845565" });
            lst.Add(new UserModel { UID = 2, FirstName = "Barrak", LastName="Obama", EmailID="obama@us.com", MobileNo="2121545845" });
            lst.Add(new UserModel { UID = 3, FirstName = "Bill", LastName="Clinton", EmailID="bclinton@usa.com", MobileNo="57878454545" });

            return lst;
        }
    }
}
